# Maintainer: Filipe Laíns (FFY00) <lains@archlinux.org>

pkgname=lightdm-webkit-theme-litarvan
pkgver=3.2.0
pkgrel=1
pkgdesc='Modern and full-featured LightDM theme'
arch=('any')
url="https://github.com/Litarvan/$pkgname"
license=('BSD')
depends=('lightdm-webkit2-greeter')
#makedepends=('npm')
#source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('477260704baa2bbaccebec86ee492c4abfcdbc1c26450e632241c581e62238c1b379b11611ee273bf58cf5842b4efdb2a4d9bf9978983f398624ba5f50984616')

package() {
  install -dm 755 "$pkgdir"/usr/share/lightdm-webkit/themes/litarvan
  cp -r --no-preserve=ownership * "$pkgdir"/usr/share/lightdm-webkit/themes/litarvan/

  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

